]> dgit.raspbian.org Git - gnome-shell.git/commit
remote-search: initialize the DBus proxy asynchronously
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 1 Nov 2012 21:28:46 +0000 (17:28 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 6 Nov 2012 23:11:56 +0000 (18:11 -0500)
commit10c104529f4cd2feb07779182e2a49de70f8f269
tree84d98128d69c55a1eb26950ebce75877438b8ef0
parentcbc8ec65082557c8a83496440866a88c85c69fe3
remote-search: initialize the DBus proxy asynchronously

Initializing this synchronously means that we will possibly wait for the
process to be auto-activated and answering to our call.
If the process is already running it also might not answer immediately
our request, as it might be doing sync I/O.
The right thing to do is to initialize the proxy asynchronously; there
are try/catch blocks in place for when the object is not available, or
not properly initialized.

https://bugzilla.gnome.org/show_bug.cgi?id=687491
js/ui/remoteSearch.js